package month4.day10;

public class Dianshi {
    private String color;
    private String size;//尺寸
    private double money;
    public void start(){
        System.out.println("电视开机了");
    }
    public void shutdown(){
        System.out.println("电视关机了");
    }
    public void trade(){
        System.out.println("电视换台了");
    }

    public Dianshi(String color, String size, double money) {
        this.color = color;
        this.size = size;
        this.money = money;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
